<!DOCTYPE html>
<html>
    <head>
        <script src="../vue.global.js"></script>
    </head>
    <body>
        <div id="div">
            <my-componet></my-componet>
        </div>
        <script>
            const app = Vue.createApp({});
            app.component('my-componet',{
                template: '<div>A custom component!</div>'
            });
            app.mount('#div');
        </script>
    </body>
</html>